package com.lxy.dataservice.dao;

import com.lxy.dataservice.entity.Durg;
import com.nip.db.mongodb.GenericMongoDao;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * MemberDao
 *
 * @author < a href=" ">BBB</ a>
 * @version v1.0.01
 * @date 2019-12-26 14:37
 */
@Repository
public interface DurgDao extends GenericMongoDao<Durg,String> {
  List<Durg> findByTypeId(String id);
  List<Durg> findAllByNameLike(String name);
  Durg findAllByName(String name);
}
